import request from "@/utils/request";
import { ReqSubscribeList, ReqGetOrder } from "./model";

// 获取拼单列表
export const reqSubscribeList = (data: PageQuery) => {
  return request<any, PageResult<ReqSubscribeList[]>>({
    url: "/admin/getSubscribe",
    params: data,
  });
};

// 获取订单列表
export const reqGetOrder = (data: PageQuery) => {
  return request<any, PageResult<ReqGetOrder[]>>({
    url: "/admin/getOrder",
    params: data,
  });
};
